<table>
  <tbody>
    <tr>
      <th>Id:</th>
      <td><?php echo $box->getId() ?></td>
    </tr>
    <tr>
      <th>Room:</th>
      <td><?php echo $box->getRoomId() ?></td>
    </tr>
    <tr>
      <th>Box name:</th>
      <td><?php echo $box->getBoxName() ?></td>
    </tr>
    <tr>
      <th>Box size:</th>
      <td><?php echo $box->getBoxSize() ?></td>
    </tr>
    <tr>
      <th>Created at:</th>
      <td><?php echo $box->getCreatedAt() ?></td>
    </tr>
    <tr>
      <th>Updated at:</th>
      <td><?php echo $box->getUpdatedAt() ?></td>
    </tr>
  </tbody>
</table>

<hr />
<ul>
<?php foreach($box->getBoxAttribution() as $boxAttribution) { ?>
  <?php $item = $boxAttribution->getItem(); ?>
  <?php echo "<li><a href='".url_for('items/show?id='.$item->getId())."'>".$item."</a></li>"; ?>
<?php } ?>
</ul>
<a href="<?php echo url_for('boxes/edit?id='.$box->getId()) ?>">Edit</a>
&nbsp;
<a href="<?php echo url_for('boxes/index') ?>">List</a>
